package com.aios.action;

import org.apache.struts2.interceptor.validation.SkipValidation;
import org.apache.struts2.json.annotations.JSON;

import com.aios.model.Version;

public class GetVersionAction extends AbstractAction {
	
	private static final long serialVersionUID = 1L;
	private Version response;
	
	@SkipValidation
    @JSON
    public String returnVersion() {
		response = new Version();
		return SUCCESS;
	}

	public Version getResponse() {
		return response;
	}

	public void setResponse(Version response) {
		this.response = response;
	}
}
